Deal with platform-specific im modules
authorMatthias Clasen <mclasen@redhat.com>
Sun, 11 Aug 2013 19:42:19 +0000 (15:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 Aug 2013 19:42:19 +0000 (15:42 -0400)
commitea715a49e481bb204e13ca1f24733cfc40017e30
tree08915a87aaefc95badcf2cabefbbdbc245ef9631
parentf4a138c7bd9baf56685b4c8193f1371530a8f028
Deal with platform-specific im modules

With multiple GDK backends in the process, we run into problems where
we try to use the Wayland im module on X, which crashes. This commit
adds a quick backend filter that removes the wayland, xim and ime
input methods from consideration  unless the corresponding GDK backend
is in use.
gtk/gtkimmodule.c